package com.xinxing.learning.auth.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinxing.learning.auth.common.vo.SysUserQueryVo;
import com.xinxing.learning.auth.entity.SysUser;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author lantianbaiyun
 * @since 2022-10-29 20:02:52
 */
public interface SysUserService extends IService<SysUser> {

    /**
     * 用户列表
     *
     * @param pageParam
     * @param sysUserQueryVo
     * @return
     */
    IPage<SysUser> selectPage(Page<SysUser> pageParam, SysUserQueryVo sysUserQueryVo);

    /**
     * 修改用户状态
     *
     * @param id
     * @param status
     */
    void updateStatus(Long id, Integer status);
}
